package com.budwk.app.sqfwV2.dto.publicSecurity;

import com.alibaba.fastjson.annotation.JSONField;
import com.budwk.app.sqfwDoc.codeGenerator.pdfGenerate.AbstractCustomerPdfCreateField;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author 东方祥云低代码1.1
 * @since 2024-03-25
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class PublicSecurityDTO extends AbstractCustomerPdfCreateField {
    @ApiModelProperty(description = "场所名称")
    private String placeName;
    @ApiModelProperty(description = "场所地址")
    private String address;
    @ApiModelProperty(description = "负责人")
    private String operator;
    @ApiModelProperty(description = "联系电话")
    private String operatorTelephone;
    @ApiModelProperty(description = "场所类型")
    private String placeType;
    @ApiModelProperty(description = "具体分类")
    private String mainBusinessScope;
    @ApiModelProperty(description = "有无隐患")
    private boolean whetherThereIsAnyHiddenDanger;
    /**观山湖区使用*/
    @ApiModelProperty(description = "案件类型")
    private String caseType;
    @ApiModelProperty(description = "隐患描述")
    private String riskDescription;

    @ApiModelProperty(description = "有无涉黑涉恶线索")
    @JSONField(name = "InCrimeAndEvil")
    private boolean InCrimeAndEvil;

    @ApiModelProperty(description = "涉黑涉恶线索描述")
    private String inCrimeAndEvilClues;
    @ApiModelProperty(description = "走访图片")
    private String visitPictures;
    @ApiModelProperty(description = "检查日期")
    private LocalDateTime inspectionDate;
    @ApiModelProperty(description = "被检查单位负责人（签名）")
    private String checkedUnitLeader;
    @ApiModelProperty(description = "同行人")
    private String peers;
    @ApiModelProperty(description = "同行人(中文)")
    private String peersName;
    @ApiModelProperty(description = "场所ID")
    private String shopInfoId;
    //社会治安有两套模板，一个是通用的，一个是特殊街道定制的，前端是同伙字点判断页面复用情况，
    // 2.0版本根据配置的页面来生成不同的文件，因此模板选用由前端标识控制选用
    @ApiModelProperty(description = "模板选用(提交来源)，TY(通用)，GS(观山湖区)，提交不同模板不同，此字段是为了后续模板的选用根据前端提交的数据来选择")
    private String fileMark;
}
